<?php
class Staticizer_News_Keywords extends Staticizer
{
    public function Build($param=NULL)
    {
        #获取数据
        $data=DB::GetRows('select Name from news_keyword order by Datetime desc');
        
        #渲染模板       
        View::Assign('Keywords',$data);
        
        #生成静态
        $this->Save('news/public.keywords.html',View::Fetch('news/public.keywords.tpl'));
    }
}
?>